{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "1abcbaf2",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2021大二第一学期课程表\n"
     ]
    }
   ],
   "source": [
    "print (\"2021大二第一学期课程表\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "1d7c7bb1",
   "metadata": {},
   "outputs": [],
   "source": [
    "import datetime\n",
    "time = datetime.date.today().weekday()\n",
    "week_time = int(time)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "df8fe074",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "周一\n",
      "3-5Pyhthon语言\n"
     ]
    }
   ],
   "source": [
    "if week_time == 0:\n",
    "    print('周一');print('3-5Pyhthon语言')\n",
    "elif week_time == 1:\n",
    "    print('周二');print('8-10网站运营与管理');\n",
    "elif week_time == 2:\n",
    "    print('周三');print('大学英语(三)A班');print('12-13创业基础(实践)')\n",
    "elif week_time == 3:\n",
    "    print('周四');print('12-13毛泽东思想和中国特色社会主义理论体系概论')\n",
    "elif week_time == 4:\n",
    "    print('周五');print('illustrator软件应用');print('跆拳道');print('大学英语（三）A班')\n",
    "else:\n",
    "    print('周末');print('party!')"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}